$(function() {
    var i;
 
    wirelib.initWithCanvas($("#canvas")[0]);
 
    for(i = -200; i <= 200; i += 20) {
        wirelib.addCircle(-200, 0, i, 100, 32);
    }
    wirelib.jitter(5);
    for(i = -200; i <= 200; i += 20) {
        wirelib.addCircle(200, 0, i, 100, 32);
    }
 
    wirelib.loop(24, function() {
        wirelib.rotateX(0.015);
        wirelib.rotateY(0.01);
        wirelib.draw();
    });
 
});